package cn.broadsense.common.utils;

import java.util.regex.Pattern;

public class Base64Checker {
    public static boolean isBase64(String input) {
        String base64Regex = "^[a-zA-Z0-9+/]+[=]{0,3}$";
        Pattern pattern = Pattern.compile(base64Regex);
        return pattern.matcher(input).matches();
    }
}